package com.iafme.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.systemframework.sys.dto.request.common.PageResponseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * @author summer
 * @version 1.0
 * @date 2025/1/6 21:58
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MemberReqDTO extends PageResponseDTO implements Serializable {

    private String name;

    private String phone;

    private String idCard;

    private Integer id;

    private String email;

    private String surname;

    private String egName;

    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date birthday;

    private String city;

    private String address;

    private String postal;

    private String enAddress;

    private String province;

}
